﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Clover.Auth.Permission
{
    public class UserPermissionProvider : IPermissionProvider
    {
        public static UserPermissionProvider _instance { get; set; }

        public static UserPermissionProvider Default
        {
            get => _instance ?? new UserPermissionProvider();
            set => _instance = value;
        }

        public UserPermissionContext Context { get; set; }
        public IEnumerable<IPermission> GetPermissions()
        {
            return Enumerable.Empty<IPermission>();
        }
    }
}
